const RouterModel = require('@/class/RouterModel');
// 可以配置对应模块下的baseUrl
const baseUrl = '/hello';
const routerModel = new RouterModel(baseUrl);

routerModel.get('/helloWorld', ctx => {
  ctx.body = 'helloWorld!';
});

module.exports = routerModel;